package com.zhouzi.zhaoyang.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

public class SelectCloseAccountListBean {


    /**
     * records : [{"id":225,"createdTime":"2019-12-05 17:20:29","updatedTime":null,"deleted":0,"merchantId":41,"merchantName":"亿宏达(胡林云)","storeId":59,"storeName":"云2","deviceNo":"DHAM4X19382466G88126544","storeUserId":52,"storeUserName":"zzz","wxDataFee":"{\"wxCount\":1,\"wxFee\":\"0.01\"}","aliDataFee":"{\"aliFee\":\"0.00\",\"aliCount\":0}","memberDataFee":"{\"memberCount\":1,\"memberFee\":\"0.01\"}","tytDataFee":"{\"tytCount\":5,\"tytFee\":\"0.05\"}","refundDataFee":null,"sumDataFee":"{\"sumCount\":7,\"sumFee\":\"0.07\"}"}]
     * total : 33
     * size : 1
     * current : 20
     * orders : []
     * searchCount : true
     * pages : 33
     */

    private int total;
    private int size;
    private int current;
    private boolean searchCount;
    private int pages;
    private List<RecordsBean> records;
    private List<?> orders;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public boolean isSearchCount() {
        return searchCount;
    }

    public void setSearchCount(boolean searchCount) {
        this.searchCount = searchCount;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public List<RecordsBean> getRecords() {
        return records;
    }

    public void setRecords(List<RecordsBean> records) {
        this.records = records;
    }

    public List<?> getOrders() {
        return orders;
    }

    public void setOrders(List<?> orders) {
        this.orders = orders;
    }

    public static class RecordsBean implements Parcelable {
        /**
         * id : 225
         * createdTime : 2019-12-05 17:20:29
         * updatedTime : null
         * deleted : 0
         * merchantId : 41
         * merchantName : 亿宏达(胡林云)
         * storeId : 59
         * storeName : 云2
         * deviceNo : DHAM4X19382466G88126544
         * storeUserId : 52
         * storeUserName : zzz
         * wxDataFee : {"wxCount":1,"wxFee":"0.01"}
         * aliDataFee : {"aliFee":"0.00","aliCount":0}
         * memberDataFee : {"memberCount":1,"memberFee":"0.01"}
         * tytDataFee : {"tytCount":5,"tytFee":"0.05"}
         * refundDataFee : null
         * sumDataFee : {"sumCount":7,"sumFee":"0.07"}
         * beginTime
         */

        private int id;
        private String createdTime;
        private String updatedTime;
        private int deleted;
        private int merchantId;
        private String merchantName;
        private int storeId;
        private String storeName;
        private String deviceNo;
        private int storeUserId;
        private String storeUserName;
        private String wxDataFee;
        private String aliDataFee;
        private String memberDataFee;
        private String tytDataFee;
        private String refundDataFee;
        private String sumDataFee;
        private String beginTime;
        private String couponDataFee;
        private String settlementDataFee;
        private String depositDataFee;

        public String getCouponDataFee() {
            return couponDataFee;
        }

        public void setCouponDataFee(String couponDataFee) {
            this.couponDataFee = couponDataFee;
        }

        public String getSettlementDataFee() {
            return settlementDataFee;
        }

        public void setSettlementDataFee(String settlementDataFee) {
            this.settlementDataFee = settlementDataFee;
        }

        public String getDepositDataFee() {
            return depositDataFee;
        }

        public void setDepositDataFee(String depositDataFee) {
            this.depositDataFee = depositDataFee;
        }


        public String getBeginTime() {
            return beginTime;
        }

        public void setBeginTime(String beginTime) {
            this.beginTime = beginTime;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCreatedTime() {
            return createdTime;
        }

        public void setCreatedTime(String createdTime) {
            this.createdTime = createdTime;
        }

        public Object getUpdatedTime() {
            return updatedTime;
        }

        public void setUpdatedTime(String updatedTime) {
            this.updatedTime = updatedTime;
        }

        public int getDeleted() {
            return deleted;
        }

        public void setDeleted(int deleted) {
            this.deleted = deleted;
        }

        public int getMerchantId() {
            return merchantId;
        }

        public void setMerchantId(int merchantId) {
            this.merchantId = merchantId;
        }

        public String getMerchantName() {
            return merchantName;
        }

        public void setMerchantName(String merchantName) {
            this.merchantName = merchantName;
        }

        public int getStoreId() {
            return storeId;
        }

        public void setStoreId(int storeId) {
            this.storeId = storeId;
        }

        public String getStoreName() {
            return storeName;
        }

        public void setStoreName(String storeName) {
            this.storeName = storeName;
        }

        public String getDeviceNo() {
            return deviceNo;
        }

        public void setDeviceNo(String deviceNo) {
            this.deviceNo = deviceNo;
        }

        public int getStoreUserId() {
            return storeUserId;
        }

        public void setStoreUserId(int storeUserId) {
            this.storeUserId = storeUserId;
        }

        public String getStoreUserName() {
            return storeUserName;
        }

        public void setStoreUserName(String storeUserName) {
            this.storeUserName = storeUserName;
        }

        public String getWxDataFee() {
            return wxDataFee;
        }

        public void setWxDataFee(String wxDataFee) {
            this.wxDataFee = wxDataFee;
        }

        public String getAliDataFee() {
            return aliDataFee;
        }

        public void setAliDataFee(String aliDataFee) {
            this.aliDataFee = aliDataFee;
        }

        public String getMemberDataFee() {
            return memberDataFee;
        }

        public void setMemberDataFee(String memberDataFee) {
            this.memberDataFee = memberDataFee;
        }

        public String getTytDataFee() {
            return tytDataFee;
        }

        public void setTytDataFee(String tytDataFee) {
            this.tytDataFee = tytDataFee;
        }

        public String getRefundDataFee() {
            return refundDataFee;
        }

        public void setRefundDataFee(String refundDataFee) {
            this.refundDataFee = refundDataFee;
        }

        public String getSumDataFee() {
            return sumDataFee;
        }

        public void setSumDataFee(String sumDataFee) {
            this.sumDataFee = sumDataFee;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeInt(this.id);
            dest.writeString(this.createdTime);
            dest.writeString(this.updatedTime);
            dest.writeInt(this.deleted);
            dest.writeInt(this.merchantId);
            dest.writeString(this.merchantName);
            dest.writeInt(this.storeId);
            dest.writeString(this.storeName);
            dest.writeString(this.deviceNo);
            dest.writeInt(this.storeUserId);
            dest.writeString(this.storeUserName);
            dest.writeString(this.wxDataFee);
            dest.writeString(this.aliDataFee);
            dest.writeString(this.memberDataFee);
            dest.writeString(this.tytDataFee);
            dest.writeString(this.refundDataFee);
            dest.writeString(this.sumDataFee);
            dest.writeString(this.beginTime);
            dest.writeString(this.couponDataFee);
            dest.writeString(this.settlementDataFee);
            dest.writeString(this.depositDataFee);
        }

        public RecordsBean() {
        }

        protected RecordsBean(Parcel in) {
            this.id = in.readInt();
            this.createdTime = in.readString();
            this.updatedTime = in.readString();
            this.deleted = in.readInt();
            this.merchantId = in.readInt();
            this.merchantName = in.readString();
            this.storeId = in.readInt();
            this.storeName = in.readString();
            this.deviceNo = in.readString();
            this.storeUserId = in.readInt();
            this.storeUserName = in.readString();
            this.wxDataFee = in.readString();
            this.aliDataFee = in.readString();
            this.memberDataFee = in.readString();
            this.tytDataFee = in.readString();
            this.refundDataFee = in.readString();
            this.sumDataFee = in.readString();
            this.beginTime = in.readString();
            this.couponDataFee = in.readString();
            this.settlementDataFee = in.readString();
            this.depositDataFee = in.readString();
        }

        public static final Parcelable.Creator<RecordsBean> CREATOR = new Parcelable.Creator<RecordsBean>() {
            @Override
            public RecordsBean createFromParcel(Parcel source) {
                return new RecordsBean(source);
            }

            @Override
            public RecordsBean[] newArray(int size) {
                return new RecordsBean[size];
            }
        };
    }
}
